package org.dong.service.Impl;

import org.dong.mapper.ProjectMapper;
import org.dong.pojo.Project;
import org.dong.service.ProjectService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProjectServiceImpl implements ProjectService {

    @Resource
    ProjectMapper projectMapper;
    @Override
    public List<Project> getMealProject(Integer mealId, Integer subjectId) {
        return projectMapper.getMealProject(mealId, subjectId);
    }
}
